import request from '@/utils/request'
// 查询工作区列
export function getColumns() {
  return request({
    url: '/pms/workspace/getColumns',
    method: 'get',
  })
}
// 查询工作区详情列
export function getDetailColumns() {
  return request({
    url: '/pms/workspace/getDetailColumns',
    method: 'get',
  })
}
// 查询工作区列表
export function listData(query) {
  return request({
    url: '/pms/workspace/list',
    method: 'get',
    params: query
  })
}

// 查询文件
export function fileList(query) {
  return request({
    url: '/pms/workspace/fileList',
    method: 'get',
    params: query
  })
}

// 查询列表
export function detailList(query) {
  return request({
    url: '/pms/workspace/detailList',
    method: 'get',
    params: query
  })
}
